/**
 *  全局store
 */

function state() {
    return {
        loading: true
    }
}

const mutations = {
	// 改变loading的状态
    CHANGE_LOADING_STATE(state, bool) {
    	state.loading = bool
    }
}

export {
    state,
    mutations
}
